LL PKA APIs listing for migration

There are a few API changes in the LL layer. This page lists only the modified LL APIs. Others not listed here are unchanged between HAL1 and HAL2.

LL PKA constants

HAL1

series

HAL2

LL_PKA_CLRFR_ADDRERRFC

u5, h5, l4

LL_PKA_FLAG_ADDRERR

LL_PKA_CLRFR_OPERRFC

u5, h5

LL_PKA_FLAG_OPERR

LL_PKA_CLRFR_PROCENDFC

u5, h5, l4

LL_PKA_FLAG_PROCEND

LL_PKA_CLRFR_RAMERRFC

u5, h5, l4

LL_PKA_FLAG_RAMERR

LL_PKA_CR_ADDRERRIE

u5, h5, l4

LL_PKA_IT_ADDRERR

LL_PKA_CR_OPERRIE

u5, h5

LL_PKA_IT_OPERR

LL_PKA_CR_PROCENDIE

u5, h5, l4

LL_PKA_IT_PROCEND

LL_PKA_CR_RAMERRIE

u5, h5, l4

LL_PKA_IT_RAMERR

LL_PKA_SR_ADDRERRF

u5, h5, l4

LL_PKA_FLAG_ADDRERR

LL_PKA_SR_BUSY

u5, h5, l4

LL_PKA_FLAG_BUSY

LL_PKA_SR_INITOK

u5, h5

LL_PKA_FLAG_INITOK

LL_PKA_SR_OPERRF

u5, h5

LL_PKA_FLAG_OPERR

LL_PKA_SR_PROCENDF

u5, h5, l4

LL_PKA_FLAG_PROCEND

LL_PKA_SR_RAMERRF

u5, h5, l4

LL_PKA_FLAG_RAMERR

LL_PKA_MODE_ECC_KP_PRIMITIVE

l4

Not implemented yet in HAL2. .

LL_PKA_MODE_MONTGOMERY_PARAM_ECC

l4

Not implemented yet in HAL2. .

LL_PKA_MODE_MONTGOMERY_PARAM_MOD_EXP

l4

Not implemented yet in HAL2. .

LL PKA macros

HAL1

series

HAL2

LL_PKA_ReadReg

u5, h5, l4

LL_PKA_READ_REG

LL_PKA_WriteReg

u5, h5, l4

LL_PKA_WRITE_REG

LL PKA structures

HAL1

series

HAL2

LL_PKA_InitTypeDef

u5, h5, l4

Removed / New Usage changes

LL PKA functions

HAL1

series

HAL2

Refer to

LL_PKA_Config

u5, h5, l4

LL_PKA_SetMode

LL_PKA_DeInit

u5, h5, l4

Removed / New Usage changes

Refer to

LL_PKA_Init

u5, h5, l4

Removed / New Usage changes

Refer to

LL_PKA_StructInit

u5, h5, l4

Removed / New Usage changes

Refer to